MVC geschiedenis
Home

MVC geschiedenis

MVC geschiedenis

Wat doet geschiedenis in een boek over programmeren? Terugkeren naar oorspronkelijke definities ken helpen om het bos door de bomen te zien.

Trygve Reenskaug is widely credited with inventing MVC. N. Alex Rupp's article Beyond MVC: A new look at the servelet architecture includes a History of MVC. In a section on Reenskaug's 1978 work at Xerox Palo Alto Research Center, there's a link to his paper Thing-Model-View-Editor: an Example from a planningsystem. There the pieces are described like this:

  1. Thing: Something that is of interest to the user. It could be concrete, like a house or an integrated circuit. It could be abstract, like a new idea or opinions about a paper. It could be a whole, like a computer, or a part, like a circuit element.
  2. Model: A Model is an active representation of an abstraction in the form of data in a computing system
  3. View: To any given Model there is attached one or more Views, each View being capable of showing one or more pictorial representations of the Model on the screen and on hardcopy. A View is also able to perform such operations upon the Model that is reasonabely associated with that View.
  4. Editor: An Editor is an interface between a user and one or more views. It provides the user with a suitable command system, for example in the form of menus that may change dynamically according to the current context. It provides the Views with the necessary coordination and command messages. Rupp identifies Reenskaug's Editor as a Controller or Tool.

Van <http://stackoverflow.com/questions/1890878/whats-the-difference-between-a-viewmodel-and-controller>

Een 'ding' kan een object zijn zoals dat in programmeren wordt gebruikt of een entiteit zoals dat in databanken wordt gebruikt.

JI
2020-03-31 13:15:42